package io.kubesphere.devops.service;

import io.kubesphere.devops.controller.OperationResponse;
import io.kubesphere.devops.controller.MergeRequestDTO;

/**
 * <p> MergeManageService
 *
 * @author gaochuan
 * @version 0.1.0
 * @date 2021/11/16 14:17
 * @since 2021/11/16
 */
public interface MergeManageService {

    OperationResponse merge(MergeRequestDTO mergeRequestDTO) throws Exception;

    OperationResponse phaseTwoCommit(String xid);

    OperationResponse phaseTwoRollback(String xid);
}
